home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / +system+ / tools / sound / ahi / developer / devloper.lzx / drivers / toccata / toccata.h < prev    next >
C/C++ Source or Header  |  1979-04-21  |  1KB  |  37 lines

  1.  
  2. /* Flags */
  3.  
  4. #define TF_ISPLAYING    (1<<0)
  5. #define TF_ISRECORDING    (1<<1)
  6. #define TF_IAMTHEOWNER    (1<<2)
  7.  
  8. struct toccata {
  9.     UBYTE             t_Flags;
  10.     UBYTE             t_Input;
  11.     UWORD             t_DisableCount;
  12.     struct Task        *t_MasterTask;
  13.     struct Library        *t_AHIsubBase;
  14.     struct Interrupt    *t_PlaySoftInt;
  15.     struct Interrupt    *t_MixSoftInt;
  16.     struct Process        *t_SlaveProcess;
  17.     WORD            *t_MixBuffer1;        /* Filled mixing routine */
  18.     WORD            *t_MixBuffer2;        /* Filled mixing routine */
  19.     WORD            *t_MixBuffer3;        /* Filled mixing routine */
  20.     WORD            *t_SampBuffer1;        /* Played by Toccata */
  21.     WORD            *t_SampBuffer2;        /* Played by Toccata */
  22.     ULONG            *t_RecBuffer;        /* Filled by Toccata */
  23.     struct AHIRecordMessage *t_RecMessage;
  24.     ULONG             t_TocSamples;        /* Size of Toc's playbuffer */
  25.     ULONG             t_TocSamplesCnt;    /* Counter */
  26.     ULONG             t_MixSamplesCnt;    /* Counter for mixbuffer */
  27.     WORD            *t_MixBufferPtr;
  28.     Fixed             t_Loopback;
  29.     ULONG             t_Mode;
  30.     BOOL             t_NoTask;
  31.     BYTE             t_MasterSignal;
  32.     BYTE             t_SlaveSignal;
  33.     BYTE             t_PlaySignal;
  34.     BYTE             t_RecordSignal;
  35.     BYTE             t_MixSignal;
  36. };
  37.